package com.permission.config;

/**
 * 一些常量
 *
 * @author my
 * @date 2020/7/13 17:19
 */
public  class Constant {

    public static final String HOST_NAME="http://localhost:8080/";
    public static final String[] SEX_ARRAY={"男","女"};
    public static final String[] ROLES_ARRAY={"普通用户","管理员","VIP用户"};

    public static final String UPLOAD_PATH="upload";
    public static final String DATE_FORMAT_PATTERN="yyyy-MM-dd";

    /**
     * 本地cookie的键名,保存用户本地密码
     */
    public static final String REMEMBER_ME="remember";

    public static final String REMEMBER_FRONT_CUSTOM="remember_custom";
    public static final String DEFAULT_IMAGE="default.jpg";

    public static final String BACK_USER="backUser";


    public static final String FRONT_USER="frontUser";

    /**
     * 前台用户最后一次登录前跳转的网址
     */
    public static final String LAST_JUMP="lastJump";



    /**
     * 批处理操作时,一次处理的数据条数
     */
    public static final int BATCH_SIZE=50;

}
